﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Domain.Entities;

namespace PHMEE
{
    /// <summary>
    /// 波形指标间隔 
    /// </summary>
    public class WaveInterval : AggregateRoot<Guid>, ISoftDelete
    {

        public WaveInterval(Guid id)
        {
            Id = id;
        }
        /// <summary>
        /// 波形/指标类型
        /// </summary>
        public IntervalStyle IntervalStyle { get; set; }

        /// <summary>
        /// 时间间隔
        /// </summary>
        public int TimeSpan { get; set; }
        /// <summary>
        /// 间隔单位
        /// </summary>
        public IntervalUnit IntervalUnit { get; set; }

        public bool IsDeleted { get; set; } = false;
    }
}
